import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson,
  download
} from '../utils/request';

//直播商品库列表 查询
export function queryLiveGoodsInfoList(data) {
  return post('/api/flashsale-service/v1/liveGoods/queryLiveGoodsInfoList', data);
}

//导入 更新
export function bulkImport(data) {
  return post('/api/flashsale-service/v1/liveGoods/bulkImport', data);
}

//删除
export function BatchDeleteInfos(data) {
  return post('/api/flashsale-service/v1/liveGoods/BatchDeleteInfos', data);
}

// //总部审批列表
// export function query_getZonePlanList(data) {
//   return post('/api/flashsale-service/v1/zbRelatedApi/getZonePlanList', data);
// }
//总部审批门店列表
export function query_getZonePlanList(data) {
  return post('/api/flashsale-service/v1/zbRelatedApi/storZbPlanList', data);
}
//总部审批门店详情
export function query_getStorZbPlanInfo(data) {
  return get('/api/flashsale-service/v1/zbRelatedApi/getStorZbPlanInfo', data);
}
//总部审批
export function save_review(data) {
  return post('/api/flashsale-service/v1/zbRelatedApi/review', data);
}

//获取挑选商品列表
export function queryChooseGoodsList(data) {
  return post('/api/flashsale-service/v1/liveGoods/queryByFilterGoodsList', data);
}
